Optimal. Leaf size=30 \[ \frac{\sin ^2(c+d x)}{2 a d (a \sin (c+d x)+a)^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0458973, antiderivative size = 30, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.12, Rules used = {2833, 12, 37} \[ \frac{\sin ^2(c+d x)}{2 a d (a \sin (c+d x)+a)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2833
Rule 12
Rule 37
Rubi steps
\begin{align*} \int \frac{\cos (c+d x) \sin (c+d x)}{(a+a \sin (c+d x))^3} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{x}{a (a+x)^3} \, dx,x,a \sin (c+d x)\right )}{a d}\\ &=\frac{\operatorname{Subst}\left (\int \frac{x}{(a+x)^3} \, dx,x,a \sin (c+d x)\right )}{a^2 d}\\ &=\frac{\sin ^2(c+d x)}{2 a d (a+a \sin (c+d x))^2}\\ \end{align*}
Mathematica [A] time = 0.0289561, size = 30, normalized size = 1. \[ \frac{\sin ^2(c+d x)}{2 a d (a \sin (c+d x)+a)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.032, size = 33, normalized size = 1.1 \begin{align*}{\frac{1}{{a}^{3}d} \left ({\frac{1}{2\, \left ( 1+\sin \left ( dx+c \right ) \right ) ^{2}}}- \left ( 1+\sin \left ( dx+c \right ) \right ) ^{-1} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.06835, size = 59, normalized size = 1.97 \begin{align*} -\frac{2 \, \sin \left (d x + c\right ) + 1}{2 \,{\left (a^{3} \sin \left (d x + c\right )^{2} + 2 \, a^{3} \sin \left (d x + c\right ) + a^{3}\right )} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.33102, size = 111, normalized size = 3.7 \begin{align*} \frac{2 \, \sin \left (d x + c\right ) + 1}{2 \,{\left (a^{3} d \cos \left (d x + c\right )^{2} - 2 \, a^{3} d \sin \left (d x + c\right ) - 2 \, a^{3} d\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.0969, size = 99, normalized size = 3.3 \begin{align*} \begin{cases} - \frac{2 \sin{\left (c + d x \right )}}{2 a^{3} d \sin ^{2}{\left (c + d x \right )} + 4 a^{3} d \sin{\left (c + d x \right )} + 2 a^{3} d} - \frac{1}{2 a^{3} d \sin ^{2}{\left (c + d x \right )} + 4 a^{3} d \sin{\left (c + d x \right )} + 2 a^{3} d} & \text{for}\: d \neq 0 \\\frac{x \sin{\left (c \right )} \cos{\left (c \right )}}{\left (a \sin{\left (c \right )} + a\right )^{3}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.25707, size = 38, normalized size = 1.27 \begin{align*} -\frac{2 \, \sin \left (d x + c\right ) + 1}{2 \, a^{3} d{\left (\sin \left (d x + c\right ) + 1\right )}^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]